package com.github.pig.nideshop.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author J神
 * @since 2018-06-11
 */
@Data
@Accessors(chain = true)
public class NideshopCart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String sessionId;
    private Integer goodsId;
    private String goodsSn;
    private Integer productId;
    private String goodsName;
    private BigDecimal marketPrice;
    private BigDecimal retailPrice;
    private Integer number;
    /**
     * 规格属性组成的字符串，用来显示用
     */
    private String goodsSpecifitionNameValue;
    /**
     * product表对应的goods_specifition_ids
     */
    private String goodsSpecifitionIds;
    private Boolean checked;
    private String listPicUrl;


}
